// vite.config.js
import { defineConfig } from 'vite';
import vue from '@vitejs/plugin-vue';
import path from 'path'; // 需要安装：npm install path --save-dev

export default defineConfig({
  plugins: [vue()],
  base: '/chashi/',
  resolve: {
    alias: {
      '@': path.resolve(__dirname, 'src'), // 添加别名配置
    },
  },
});